package cn.yangtianxia.org.mapper;

import cn.yangtianxia.basic.mapper.BaseMapper;
import cn.yangtianxia.org.domain.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {


    Employee loadByUserName(String username);

    void removeEmployeeRole(Long id);


    void saveEmployeeRole(@Param("id") Long id, @Param("roles") List<Long> roles);
}
